package com.x25175.file.mapper;

import com.x25175.file.Vo.Query;
import com.x25175.file.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author 徐佳辉
 * @date 2020/11/19 8:55
 */
public interface StudentMapper {
    int delete(Integer studentId);

    int insert(Student student);

    int insertDynamic(Student student);

    int updateDynamic(Student student);

    int updateDynamicExcluePic(Student student);

    int update(Student student);

    int insertList(@Param("list") List<Student> list);

    Student selectByStudentId(Integer studentId);

    List<Student> selectAll();

    int deletes(@Param("list") List<Student> students);

    List<Student> selectLike(@Param("query") Query query);

    List<Student> selectExact(@Param("query") Query query);

    List<Student> selectByStudentIdStringArray(@Param("list") String[] st);
}
